package com.codingfuture.glacierhardware.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.codingfuture.glaciercommon.entity.Meter;
import com.codingfuture.glacierhardware.dto.MeterAddDTO;
import com.codingfuture.glacierhardware.dto.MeterUpdateDTO;
import com.codingfuture.glacierhardware.vo.CompanyVO;
import com.codingfuture.glacierhardware.vo.HostVO;
import com.codingfuture.glacierhardware.vo.WareHouseVO;

import java.util.List;

/**
 * @Author: Ji
 * @DateTime: 2025-04-01 15:52
 * @Description:
 **/
public interface MeterService {
    Page<Meter> findByPage(String companyName, Page<Meter> page);

    boolean addInfo(MeterAddDTO meterAddDTO);

    boolean updateInfo(MeterUpdateDTO meterUpdateDTO);

    boolean delById(Long id);

    List<CompanyVO> getCompany();

    List<WareHouseVO> getWareHouse(Long id);

    Meter findById(Long id);

    List<HostVO> getHost(Long id);

    List<Meter> getMeterExcel();

}
